<?php /* Smarty version 2.6.26, created on 2015-07-13 12:26:38
         compiled from ask.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'ask.php', 10, false),)), $this); ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h1><?php echo $this->_tpl_vars['field']['title']; ?>
</h1>
	<p>
		<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['field']['create_at'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m') : smarty_modifier_date_format($_tmp, '%Y-%m')); ?>
</strong>
		发布者:<?php  echo Api('User/getUsername');  ?>
		浏览次数:

		<?php  echo Api('Ask/getClick',[$_GET['id']]); 
		Api('Ask/updateClick',[$_GET['id']]);
		 ?>

		浏览次数2:
		<script src="?m=Home&c=Ask&a=getClick&id=<?php echo $this->_tpl_vars['field']['id']; ?>
"></script>
	</p>
	<p>
		<?php echo $this->_tpl_vars['field']['content']; ?>

	</p>


</body>
</html>